#!/bin/bash

fileName=$1
time=$2

while [ true ]; do
/bin/sleep $time

if [ -d ${fileName}".mo" ];then
	`rm -rf ${fileName}".mo"`
fi

msgfmt -o ${fileName}".mo" ${fileName}".po"

done

